
#ifndef __transfer_BIN_to_EX_FLASH
#define __transfer_BIN_to_EX_FLASH
#include "stdint.h"
extern uint8_t TBEF_uart_recv_finish , TBEF_uart_recving_flag , TBEF_uart_recv_tim_cnt;
extern uint16_t TBEF_recvBuf_tail;
extern uint8_t TBEF_recvBuf[1000];
//extern u16 TBEF_recvBuf_tail;



void TBEF_uart_receive_process(uint8_t data);

void TBEF_tim_process(void);
void TBEF_SendACK(uint8_t ERROR);
void TBEF_clearRecvBuf(void);
uint8_t TBEF_framePrasing(void);
void TBEF_mainFun(void);
void TBEF_data_CallBack(uint8_t *dataBuf, uint16_t len);
#endif


